Skip to content

feat: Add slow sync strike out logic#2196

Open
sergerad wants to merge 12 commits into
nextfrom
sergerad-dc-slow-sync
Open

feat: Add slow sync strike out logic#2196
sergerad wants to merge 12 commits into
nextfrom
sergerad-dc-slow-sync

Conversation

@sergerad

@sergerad sergerad commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator

Relates to #2176.

Strikes out sync subscriptions / connections when they take longer than block_time seconds to read events. Relies on capacity of the watch channels which is 32 atm.

@sergerad sergerad added the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jun 4, 2026
@sergerad

sergerad commented Jun 4, 2026

Copy link
Copy Markdown
Collaborator Author

@Mirko-von-Leipzig this seems like a sensible way of doing it? Might want to tweak the capacity from 32? To lower

@Mirko-von-Leipzig Mirko-von-Leipzig left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code itself looks good; but I think there is a problem with using the block interval conceptually.

Comment thread crates/store/src/state/subscription.rs Outdated
Comment thread crates/store/src/state/subscription.rs
@sergerad sergerad removed the no changelog This PR does not require an entry in the `CHANGELOG.md` file label Jun 5, 2026

@kkovaacs kkovaacs left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me % the Docker cache ID changes, which we should fix somewhere else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants